翻訳と辞書
Words near each other
・ Plain mountain finch
・ Plain near Auvers
・ Plain nightjar
・ Plain of Bagua
・ Plain of Catania
・ Plain of Jars
・ Plain of Manasseh
・ Plain of Six Glaciers Tea House
・ Plain of the Cul-de-Sac
・ Plain of Torvioll
・ Plain of Vic
・ Plain of Zgharta
・ Plain Old C++ Object
・ Plain Old CLR Object
・ Plain Old Documentation
Plain Old Java Object
・ Plain old telephone service
・ Plain Old XML
・ Plain parakeet
・ Plain Pat
・ Plain people
・ Plain pigeon
・ Plain prinia
・ Plain Rap
・ Plain Sailing (song)
・ Plain snake-eel
・ Plain softtail
・ Plain Spoken
・ Plain Street
・ Plain sunbird


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Plain Old Java Object : ウィキペディア英語版
Plain Old Java Object
In software engineering, a plain old Java object (POJO) is an ordinary Java object, not bound by any special restriction. The term was coined by Martin Fowler, Rebecca Parsons and Josh MacKenzie in September 2000:〔

"We wondered why people were so against using regular objects in their systems and concluded that it was because simple objects lacked a fancy name. So we gave them one, and it's caught on very nicely."〔(【引用サイトリンク】title=MF Bliki: POJO )

The term "POJO" initially denoted a Java object which does not follow any of the major Java object models, conventions, or frameworks; nowadays "POJO" may be used as an acronym for "Plain Old ''JavaScript'' Object" as well, in which case the term denotes a JavaScript object of similar pedigree.〔
(【引用サイトリンク】title=Return of the POJO: Plain ‘Ole JavaScript )

The term continues the pattern of older terms for technologies that do not use fancy new features, such as POTS (Plain Old Telephone Service) in telephony, PODS (Plain Old Data Structures) that are defined in C++ but use only C language features, and Pod (Plain Old Documentation) in Perl. The equivalent to POJO on the .NET framework is Plain Old CLR Object (POCO).〔
(【引用サイトリンク】title=POCO Support )
〕 For PHP, it is Plain Old PHP Object (POPO).〔
〕〔

The POJO phenomenon has most likely gained widespread acceptance because of the need for a common and easily understood term that contrasts with complicated object frameworks.
==Definition==
Ideally speaking, a POJO is a Java object not bound by any restriction other than those forced by the Java Language Specification; i.e. a POJO should not have to
#Extend prespecified classes, as inpublic class Foo extends javax.servlet.http.HttpServlet { ...
#Implement prespecified interfaces, as inpublic class Bar implements javax.ejb.EntityBean { ...
#Contain prespecified annotations, as in@javax.persistence.Entity public class Baz { ...
However, due to technical difficulties and other reasons, many software products or frameworks described as POJO-compliant actually still require the use of prespecified annotations for features such as persistence to work properly.
The idea is that if the object (actually class) was a POJO before any annotations were added, and would return to POJO status if the annotations are removed then it can still be considered a POJO. Then the basic object remains a POJO in that it has no special characteristics (such as an implemented interface) that makes it a "Specialized Java Object" (SJO or (sic) SoJO).

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Plain Old Java Object」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.